Skip to content

NO-ISSUE: Lower IRI deletion log verbosity - #6119

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
djoshy:hot-fix-iri-log
Jun 2, 2026
Merged

NO-ISSUE: Lower IRI deletion log verbosity#6119
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
djoshy:hot-fix-iri-log

Conversation

@djoshy

@djoshy djoshy commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

This is spamming controller logs on every sync and makes things harder to debug.

Summary by CodeRabbit

  • Chores
    • Adjusted internal logging verbosity for better debugging efficiency.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 2, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@djoshy: This pull request explicitly references no jira issue.

Details

In response to this:

This is spamming controller logs on every sync and makes things harder to debug.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a50c3d44-cc48-474d-ae4d-411817e13c4d

📥 Commits

Reviewing files that changed from the base of the PR and between 26d41f7 and 8e518a1.

📒 Files selected for processing (1)
  • pkg/controller/internalreleaseimage/internalreleaseimage_controller.go

Walkthrough

The pull request adjusts the verbosity level of a single log message in the InternalReleaseImage controller's deletion path. When an InternalReleaseImage resource is already deleted, the log message now uses verbosity level V(4) instead of V(2), making it less prominent in controller logs.

Changes

Log Verbosity Adjustment

Layer / File(s) Summary
Log level adjustment for deleted InternalReleaseImage
pkg/controller/internalreleaseimage/internalreleaseimage_controller.go
The verbosity level for logging when an InternalReleaseImage is already deleted is increased from V(2) to V(4) in the syncInternalReleaseImage function.

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Ipv6 And Disconnected Network Test Compatibility ⚠️ Warning PR adds Ginkgo e2e tests with IPv4 hardcoded localhost (127.0.0.1) and external quay.io image references incompatible with IPv6 disconnected environments. Replace 127.0.0.1 with IPv6 support (::1), handle external images via cluster internal registry, and use GetIPAddressFamily() helper for IP family detection.
✅ Passed checks (14 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: lowering log verbosity for InternalReleaseImage (IRI) deletion by changing from V(2) to V(4).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The repository uses standard Go testing, not Ginkgo. No Ginkgo test framework found in codebase (0 imports). PR modifies log verbosity only; no test files added or modified.
Test Structure And Quality ✅ Passed PR only modifies controller log message verbosity (controller.go +1/-1), not Ginkgo test code. Repository uses standard Go testing, not Ginkgo. Check is not applicable.
Microshift Test Compatibility ✅ Passed No new Ginkgo e2e tests are added in this PR. The change only modifies log verbosity in a controller file, making the MicroShift compatibility check not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR contains only a log verbosity change (V(2) to V(4)) in controller code, not new e2e tests. The SNO Test Compatibility check applies only to new Ginkgo e2e tests.
Topology-Aware Scheduling Compatibility ✅ Passed PR changes only log verbosity level (V(2)→V(4)) in controller code; no scheduling constraints, pod specs, deployments, node selectors, affinity rules, or topology assumptions introduced.
Ote Binary Stdout Contract ✅ Passed The PR changes klog verbosity from V(2) to V(4) in a controller method, not process-level code. klog outputs to stderr via flag.Set("logtostderr", "true"), so no stdout contract violation.
No-Weak-Crypto ✅ Passed PR contains only a logging verbosity change (V(2)→V(4)) in internalreleaseimage_controller.go with no weak crypto algorithms, custom crypto implementations, or insecure secret comparisons.
Container-Privileges ✅ Passed PR modifies only Go source file, not K8s manifests. Changes log verbosity (V(2) to V(4)). Container-privileges check for manifests is not applicable.
No-Sensitive-Data-In-Logs ✅ Passed The log statement logs only a resource key (namespace/name format), which is non-sensitive. The change reduces verbosity from V(2) to V(4), which is appropriate for operational noise reduction.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@isabella-janssen isabella-janssen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@isabella-janssen

Copy link
Copy Markdown
Member

/verified bypass

Just a log change, doesn't need verification

@openshift-ci

openshift-ci Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: djoshy, isabella-janssen

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 2, 2026
@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jun 2, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@isabella-janssen: The verified label has been added.

Details

In response to this:

/verified bypass

Just a log change, doesn't need verification

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 2, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-gcp-op-ocl-part1
/test e2e-gcp-op-ocl-part2
/test e2e-gcp-op-part1
/test e2e-gcp-op-part2
/test e2e-gcp-op-single-node
/test e2e-hypershift

@djoshy

djoshy commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

/override ci/prow/e2e-aws-ovn
/override ci/prow/e2e-aws-ovn-upgrade
/override ci/prow/e2e-gcp-op-ocl-part1
/override ci/prow/e2e-gcp-op-ocl-part2
/override ci/prow/e2e-gcp-op-part1
/override ci/prow/e2e-gcp-op-part2
/override ci/prow/e2e-gcp-op-single-node
/override ci/prow/e2e-hypershift

@openshift-ci

openshift-ci Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

@djoshy: Overrode contexts on behalf of djoshy: ci/prow/e2e-aws-ovn, ci/prow/e2e-aws-ovn-upgrade, ci/prow/e2e-gcp-op-ocl-part1, ci/prow/e2e-gcp-op-ocl-part2, ci/prow/e2e-gcp-op-part1, ci/prow/e2e-gcp-op-part2, ci/prow/e2e-gcp-op-single-node, ci/prow/e2e-hypershift

Details

In response to this:

/override ci/prow/e2e-aws-ovn
/override ci/prow/e2e-aws-ovn-upgrade
/override ci/prow/e2e-gcp-op-ocl-part1
/override ci/prow/e2e-gcp-op-ocl-part2
/override ci/prow/e2e-gcp-op-part1
/override ci/prow/e2e-gcp-op-part2
/override ci/prow/e2e-gcp-op-single-node
/override ci/prow/e2e-hypershift

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-merge-bot
openshift-merge-bot Bot merged commit bf66c0b into openshift:main Jun 2, 2026
17 checks passed
@openshift-ci

openshift-ci Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

@djoshy: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@djoshy
djoshy deleted the hot-fix-iri-log branch June 2, 2026 18:47
bfournie pushed a commit to bfournie/machine-config-operator that referenced this pull request Jul 27, 2026
NO-ISSUE: Lower IRI deletion log verbosity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants